From: Sergio Costas Rodriguez Date: Tue, 10 Mar 2026 11:52:39 +0000 (+0100) Subject: appDisplay: Fix focus path when edit is enabled X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~26^2~1^2~10 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e19ee787a37dc6e5b71485d2eab3109da62fe290;p=gnome-shell.git appDisplay: Fix focus path when edit is enabled When an app folder is open and its panel is shown, there are three main elements: the folder name, the list of apps, and the Edit togglebutton. By default, the user can use TAB to jump between the app icons and the Edit togglebutton, but when the togglebutton is checked, the folder name becomes editable and the focus jumps to it. Unfortunately, if the user goes out of the editable name with TAB, the focus only cycles between the Edit togglebutton and the app icons, never landing over the editable folder name (which remains editable until the Edit togglebutton is unchecked). This patch fixed this, making the editable folder name focusable when using TAB, as expected, when the Edit togglebutton is checked. Part-of: --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 4ecaf92af..0769ef65b 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -2601,13 +2601,14 @@ export const AppFolderDialog = GObject.registerClass({ } _switchActor(from, to) { - to.reactive = true; + to.reactive = to.can_focus = true; to.ease({ opacity: 255, duration: 300, mode: Clutter.AnimationMode.EASE_OUT_QUAD, }); + from.can_focus = false; from.ease({ opacity: 0, duration: 300,